package com.kefu.call.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 通话标签
 */
@TableName(value= "call_tag_rel")
@Data
@ApiModel(description = "通话标签")
public class CallTagRel implements Serializable {
    /**
     * 活动id
     */

    @TableId(value="id")
    @NotEmpty
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * 通话id
     */
    @TableField(value = "call_id")
    @ApiModelProperty(value = "通话id")
    private String callId;

    /**
     * 标签id
     */
    @TableField(value = "tag_id")
    @ApiModelProperty(value = "标签id")
    private String tagId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    /**
     * 修改人
     */
    @TableField(value = "create_user")
    @ApiModelProperty(value = "修改人")
    private String createUser;
    private static final long serialVersionUID = 1L;
}